{extend name="public:index"/}
{block name="title"}{:sysconf('title')}{/block}
{block name="content"}
<section class="whtop">
    <div class="top">
        <p class="p1">
            <a href="javascript:history.back(-1)"></a>
        </p>
        <p class="p2">中奖记录</p>
        <p class="p3"></p>
    </div>
</section>
<section style="height:2rem;"></section>

<section class="ncbj_caipro3">
    <div class="httop">
        <p class="p1 canp1">我的中奖</p>
        <p class="p2">全部中奖</p>
    </div>
    <div class="caiprobox">
        <div class="caipro">
            <div class="caipromain caipromain1 caipromain2" style="display:block;">
                <dl>
                    <dt>
                        <span>日期</span>
                        <span>奖品</span>
                        <span>发放状态</span>
                    </dt>
                    {foreach name="myList" item="vo"}
                    <dd>
                        <span>{$vo['add_time']}</span>
                        <span class="span1">{$vo['title']}</span>
                        <span>{$vo['status']}</span>
                    </dd>
                    {/foreach}
                </dl>
            </div>
            <div class="caipromain caipromain1 caipromain2">
                <dl>
                    <dt>
                        <span>日期</span>
                        <span>奖品</span>
                        <span>发放状态</span>
                    </dt>
                    {foreach name="list" item="vo"}
                    <dd>
                        <span>{$vo['add_time']}</span>
                        <span class="span1">{$vo['title']}</span>
                        <span>{$vo['status']}</span>
                    </dd>
                    {/foreach}
                </dl>
            </div>
        </div>
    </div>
</section>
<script>
    $('.ncbj_caipro3 .httop p').click(function() {
        var thi = $(this).index();
        $('.caipro .caipromain').hide();
        $('.caipro .caipromain').eq(thi).show();
        $(this).addClass('canp1').siblings().removeClass('canp1');
    });
</script>


{/block}